<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Radio Buttons</title>

</head>

<body>

<h1>Radio Buttons</h1>

<form action="http://www.htmlcodetutorial.com/cgi-bin/mycgi.pl" method="get">
    <fieldset>
    <legend>Choose your favorite color</legend>
    <input type="radio" name="choice" value="RED" /><label>red</label>
    <input type="radio" name="choice" value="tuna" /><label>blue</label>
    </fieldset>

    <fieldset>
    <legend>Do you have pets?</legend>
    <input type="radio" name="pets" value="NO" /><label>No</label>
    <input type="radio" name="pets" value="YES" /><label>Yes</label>
    </fieldset>
</form>

</body>

</html>
